package com.gfxy.vo;

import lombok.Data;
import lombok.NonNull;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class User extends BaseVo{

    private Integer userId;
    private Integer deptId;
    @NotBlank
    private String userName;
    private String nickName;
    private String userType;
    @NotBlank
    private String email;
    private String phonenumber;
    private Character sex;
    private String avatar;
    @NotBlank
    private String password;
    private Character status;
    private Character delFlag;
    private String loginIp;
    private Date loginDate;

}
